print('---------')

intType = 1000
print(f'intType,{intType},{type(intType)}')
print('---------')

floatType = 1000.3
print(f'floatType,{floatType},{type(floatType)}')
print('---------')

stringType = "Test"
print(f'stringType,{stringType},{type(stringType)}')
print('---------')

listType1 = [111, 222, 333]
listType2 = ['111', '222', '333']
print(f'{listType1},{type(listType1)}')
print(f'{listType1[1]}')
print(f'{listType1[0:2]}')
print(f'{listType1[1:]}')
print(f'{listType1 + listType2}')
print(f'{listType1 * 2}')
print('---------')

mapType = {'name': '张三', 'age': 18, 'active': True}
print(f'{mapType}')
print(f'{mapType.keys()}')
print(f'{mapType.values()}')
print('---------')

print(f'int,{type(int("123"))}')
print(f'float,{type(float("123"))}')
print(f'complex,{type(complex("123"))}')
print(f'str,{type(str("123"))}')
print(f'repr,{type(repr("123"))}')
print(f'eval,{type(eval("123"))}')
print(f'tuple,{type(tuple("123"))}')
print(f'list,{type(list("123"))}')
print(f'set,{type(set("123"))}')
print(f'chr,{type(chr(123))}')
print(f'hex,{type(hex(123))},{hex(123)}')  # 16进制
print(f'oct,{type(oct(123))},{oct(123)}')  # 8进制
print('---------')
